package org.dromara.vehicle.modules.driver.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 驾驶员违章记录对象 driver_violation_record
 *
 * @author ckk
 * @date 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("driver_violation_record")
public class DriverViolationRecord extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private Long id;

    /**
     * 关联车辆基本信息表ID
     */
    private Long vehicleId;

    /**
     * 关联驾驶员基本信息表ID
     */
    private Long driverId;

    /**
     * 车牌号
     */
    private String licensePlate;

    /**
     * 违章日期
     */
    private Date violationDate;

    /**
     * 违章地点
     */
    private String location;

    /**
     * 违章行为
     */
    private String violationAct;

    /**
     * 扣分
     */
    private Integer demeritPoints;

    /**
     * 罚款(元)
     */
    private BigDecimal fineAmount;


}
